package com.ross.mode;

import com.ross.mode.defaults.MobileReceiver;
import com.ross.mode.defaults.QqReceiver;

/**
 * @version 1.0.0
 * @className: ReceiverFactory
 * @description: 静态工厂类
 * @author: zhangjunfa
 * @date: 2023/3/30 14:35
 */
public class ReceiverFactory {
    public static Receiver createQqReceiver() {
        return new QqReceiver();
    }

    public static Receiver createMobileReceiver() {
        return new MobileReceiver();
    }
}
